package com.suanfa.string;

/**
 * Created by buguniao on 16/3/7.
 */
public class KMP {
    public static void main(String[] args){

    }
    public static void getNext(String t){
        int[] next = new int[t.length()];
        if(t.length()==1){
           next[0]=0;
        }
        if(t.length()==2){
            next[0]=0;
            next[1]=1;
        }

    }
}
